package edu.nf.ch06.container.test.web;

import edu.nf.ch06.container.Component;
import edu.nf.ch06.container.Inject;
import edu.nf.ch06.container.test.service.UserService;

/**
 * @author wangl
 * @date 2025/4/16
 */
@Component("userController")
public class UserController {

    @Inject("userService")
    private UserService userService;

    public void add() {
        userService.save();
    }
}